import ajax from "./ajax";

const baseURL = "http://152.136.34.151:12345";

const api = {
    get: function (url, data) {
        return ajax(baseURL + url, data, 'GET', 'JSON')
    },
    post: function (url, data) {
        return ajax(baseURL + url, data, 'POST', 'JSON')
    }
}
export default api